Skip to main content

ModOperator

Type​

operator

Summary​

Mod operator.

Syntax​

<Left> mod <Right>

Description​

Returns the remainder on dividing Left by Right

Parameters​

NameTypeDescription

Left

An expression that evaluates to a number.

Right

An expression that evaluates to a number.

Examples​

variable tVar as Number
put 4^((7 - 1)/2) mod 7 into tVar -- tVar contains 1

Value​

NameTypeDescription

return

Left mod Right.

Thank you for your feedback!

Was this page helpful?